package com.augurit.smartform.display;

import java.util.LinkedHashMap;
import java.util.Map;

public class PageElement {
	private String sourceXmlStr;
	private String sourceHtmlStr;
	private String sourceFtlStr;
	private String clientJavascript;
	private String serverJavascript;
	private String sourceCss;
	private String sourcePath;
	private String sourceName;
	private String jspPath;
	private String jspName;
	private String jspContent;
	private String name;
	private String cnName;
	private String absolutePath;
	private String pageTop;
	private String title;
	private String commonMeta;
	private String javascript;
	private String pageCode;
	private Long templateId;
	private String pageId;
	private String formType;
	private Map<String,TagElement> elements=new LinkedHashMap<String,TagElement>();
	private Map<String,String> tagJavascript=new LinkedHashMap<String,String>();
	private Map<String,String> tagPageTop=new LinkedHashMap<String,String>();
	
	public Map<String,TagElement> getElements() {
		return elements;
	}
	public void setElements(String key,TagElement element) {
		this.elements.put(key, element);
	}
	public Map<String,String> getTagJavascript(){
		return tagJavascript;
	}
	public void setTagJavascript(String key,String value){
		this.tagJavascript.put(key, value);
	}
	public Map<String,String> getTagPageTop(){
		return tagPageTop;
	}
	public void setTagPageTop(String key,String value){
		this.tagPageTop.put(key, value);
	}
	public String getSourceXmlStr() {
		return sourceXmlStr;
	}
	public void setSourceXmlStr(String sourceXmlStr) {
		this.sourceXmlStr = sourceXmlStr;
	}
	public String getSourceHtmlStr() {
		return sourceHtmlStr;
	}
	public void setSourceHtmlStr(String sourceHtmlStr) {
		this.sourceHtmlStr = sourceHtmlStr;
	}
	public String getSourceCss() {
		return sourceCss;
	}
	public void setSourceCss(String sourceCss) {
		this.sourceCss = sourceCss;
	}
	public String getSourcePath() {
		return sourcePath;
	}
	public void setSourcePath(String sourcePath) {
		this.sourcePath = sourcePath;
	}
	public String getJspPath() {
		return jspPath;
	}
	public void setJspPath(String jspPath) {
		this.jspPath = jspPath;
	}
	public String getName() {
		return name.toUpperCase();
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCnName() {
		return cnName;
	}
	public void setCnName(String cnName) {
		this.cnName = cnName;
	}
	public String getSourceName() {
		return sourceName;
	}
	public void setSourceName(String sourceName) {
		this.sourceName = sourceName;
	}
	public String getJspName() {
		return jspName;
	}
	public void setJspName(String jspName) {
		this.jspName = jspName;
	}
	public String getAbsolutePath() {
		return absolutePath;
	}
	public void setAbsolutePath(String absolutePath) {
		this.absolutePath = absolutePath;
	}
	public String getPageTop() {
		return pageTop;
	}
	public void setPageTop(String pageTop) {
		this.pageTop = pageTop;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getJavascript() {
		return javascript;
	}
	public void setJavascript(String javascript) {
		this.javascript = javascript;
	}
	public String getCommonMeta() {
		return commonMeta;
	}
	public void setCommonMeta(String commonMeta) {
		this.commonMeta = commonMeta;
	}
	public String getClientJavascript() {
		return clientJavascript;
	}
	public void setClientJavascript(String clientJavascript) {
		this.clientJavascript = clientJavascript;
	}
	public String getServerJavascript() {
		return serverJavascript;
	}
	public void setServerJavascript(String serverJavascript) {
		this.serverJavascript = serverJavascript;
	}
	public String getSourceFtlStr() {
		return sourceFtlStr;
	}
	public void setSourceFtlStr(String sourceFtlStr) {
		this.sourceFtlStr = sourceFtlStr;
	}
	public String getJspContent() {
		return jspContent;
	}
	public void setJspContent(String jspContent) {
		this.jspContent = jspContent;
	}
	public String getPageCode() {
		return pageCode;
	}
	public void setPageCode(String pageCode) {
		this.pageCode = pageCode;
	}
	public Long getTemplateId() {
		return templateId;
	}
	public void setTemplateId(Long templateId) {
		this.templateId = templateId;
	}
	public String getPageId() {
		return pageId;
	}
	public void setPageId(String pageId) {
		this.pageId = pageId;
	}
	public String getFormType() {
		return formType;
	}
	public void setFormType(String formType) {
		this.formType = formType;
	}
}
